/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.ismaila.designPatterns.creational.prototype.factories;

import za.ac.cput.ismaila.designPatterns.creational.prototype.Dog;
import za.ac.cput.ismaila.designPatterns.creational.prototype.Person;

/**
 *
 * @author Chelsea
 */
public class AppFactory {

    public static Person createPerson(String name) {
        return new Person(name);
    }

    public static Dog createDog(String sound) {
        return new Dog(sound);
    }
    
}
